.class Lcom/xingbook/park/activity/h;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/xingbook/park/c/a/x;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/BaseXbMainActivity;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/BaseXbMainActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(Ljava/util/HashMap;)V
    .locals 5

    const/4 v4, 0x0

    new-instance v2, Ljava/util/HashMap;

    invoke-direct {v2}, Ljava/util/HashMap;-><init>()V

    invoke-virtual {p1}, Ljava/util/HashMap;->keySet()Ljava/util/Set;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-static {v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->b(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/b/a;

    move-result-object v0

    invoke-virtual {v0, v2, v4}, Lcom/xingbook/park/b/a;->a(Ljava/util/HashMap;I)Z

    iget-object v0, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-static {v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->c(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/c/a/k;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/park/c/a/k;->a()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-static {v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->d(Lcom/xingbook/park/activity/BaseXbMainActivity;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-static {v0}, Lcom/xingbook/park/activity/BaseXbMainActivity;->e(Lcom/xingbook/park/activity/BaseXbMainActivity;)Lcom/xingbook/park/a/a;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-static {v1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->d(Lcom/xingbook/park/activity/BaseXbMainActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/a/a;->a(Ljava/util/ArrayList;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    iget-object v0, v0, Lcom/xingbook/park/activity/BaseXbMainActivity;->a:Lcom/xingbook/park/c/a/d;

    iget-object v1, p0, Lcom/xingbook/park/activity/h;->a:Lcom/xingbook/park/activity/BaseXbMainActivity;

    invoke-virtual {v1}, Lcom/xingbook/park/activity/BaseXbMainActivity;->c()I

    move-result v1

    invoke-virtual {v0, v1}, Lcom/xingbook/park/c/a/d;->setSelected(I)V

    return-void

    :cond_1
    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {p1, v0}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/String;

    invoke-static {v1, v4}, Lcn/a/a/d/j;->a(Ljava/lang/String;I)I

    move-result v1

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    goto :goto_0
.end method
